﻿namespace Traffic.Entity;

/// <summary>
/// 图片记录表
/// </summary>
public partial class PictureList
{
    public int Id { get; set; }

    /// <summary>
    /// 类型ID，对应PictureType.ID
    /// </summary>
    public int TypeId { get; set; }

    /// <summary>
    /// 原文件名
    /// </summary>
    public string PicName { get; set; } = null!;

    /// <summary>
    /// 本地保存文件名
    /// </summary>
    public string StorageName { get; set; } = null!;

    /// <summary>
    /// 本地保存路径
    /// </summary>
    public string LocalPath { get; set; } = null!;

    /// <summary>
    /// 图片类型 jpg,png,gif等
    /// </summary>
    public string? PicType { get; set; }

    /// <summary>
    /// 图片描述
    /// </summary>
    public string? Description { get; set; }

    /// <summary>
    /// 上传者ID，对应SysAccount.ID
    /// </summary>
    public int UploadUserId { get; set; }

    /// <summary>
    /// 状态  0：作废  1：正常（默认）
    /// </summary>
    public bool Status { get; set; }
}
